package com.xvyy.tingshu.album.mapper;

import com.xvyy.tingshu.model.album.BaseCategoryView;
import com.xvyy.tingshu.vo.album.category.CategoryVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BaseCategoryViewMapper extends BaseMapper<BaseCategoryView> {

    List<CategoryVo> getBaseCategoryList();

    BaseCategoryView getAlbumInfoCategory(@Param("albumId") Long albumId);
}
